package com.teamone.mobilewatch.accessor.webservice;

import java.util.ArrayList;

import com.teamone.mobilewatch.accessor.PatientWatchDataAccessor;
import com.teamone.mobilewatch.model.Patient;
import com.teamone.mobilewatch.model.PatientReadings;

public class MockDataAccessorImpl implements PatientWatchDataAccessor {

	@Override
	public ArrayList<Patient> getAllPatients() throws Exception {
		ArrayList<Patient> patients = new ArrayList<Patient>();
		Patient p1 = new Patient();
		p1.setPatientId(1);
		p1.setFirstName("Peter");
		p1.setLastName("Doe");
		p1.setRoom("300");
		p1.setDepartment("Cardiology");
		patients.add(p1);

		return patients;
	}

	@Override
	public ArrayList<Patient> getPatient(int patientId) throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public ArrayList<PatientReadings> getPatientReadings(int patientId)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public PatientReadings getLastPatientReadings(int patientId)
			throws Exception {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public boolean isSimulatorRunning() throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean startSimulator(int updatePeriod) throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean stopSimulator() throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

	@Override
	public boolean authenticateUser(String userName, String password)
			throws Exception {
		// TODO Auto-generated method stub
		return false;
	}

}
